/* A Bison parser, made by GNU Bison 3.0.4.  */

/* Bison interface for Yacc-like parsers in C

   Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.

   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */

/* As a special exception, you may create a larger work that contains
   part or all of the Bison parser skeleton and distribute that work
   under terms of your choice, so long as that work isn't itself a
   parser generator using the skeleton or a modified version thereof
   as a parser skeleton.  Alternatively, if you modify or redistribute
   the parser skeleton itself, you may (at your option) remove this
   special exception, which will cause the skeleton and the resulting
   Bison output files to be licensed under the GNU General Public
   License without this special exception.

   This special exception was added by the Free Software Foundation in
   version 2.2 of Bison.  */

#ifndef YY_PCAP_Y_TAB_H_INCLUDED
# define YY_PCAP_Y_TAB_H_INCLUDED
/* Debug traces.  */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#if YYDEBUG
extern int pcap_debug;
#endif

/* Token type.  */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
  enum yytokentype
  {
    DST = 258,
    SRC = 259,
    HOST = 260,
    GATEWAY = 261,
    NET = 262,
    MASK = 263,
    PORT = 264,
    LESS = 265,
    GREATER = 266,
    PROTO = 267,
    PROTOCHAIN = 268,
    BYTE = 269,
    ARP = 270,
    RARP = 271,
    IP = 272,
    TCP = 273,
    UDP = 274,
    ICMP = 275,
    IGMP = 276,
    IGRP = 277,
    PIM = 278,
    ATALK = 279,
    DECNET = 280,
    LAT = 281,
    SCA = 282,
    MOPRC = 283,
    MOPDL = 284,
    TK_BROADCAST = 285,
    TK_MULTICAST = 286,
    NUM = 287,
    INBOUND = 288,
    OUTBOUND = 289,
    LINK = 290,
    GEQ = 291,
    LEQ = 292,
    NEQ = 293,
    ID = 294,
    EID = 295,
    HID = 296,
    HID6 = 297,
    LSH = 298,
    RSH = 299,
    LEN = 300,
    IPV6 = 301,
    ICMPV6 = 302,
    AH = 303,
    ESP = 304,
    OR = 305,
    AND = 306,
    UMINUS = 307
  };
#endif
/* Tokens.  */
#define DST 258
#define SRC 259
#define HOST 260
#define GATEWAY 261
#define NET 262
#define MASK 263
#define PORT 264
#define LESS 265
#define GREATER 266
#define PROTO 267
#define PROTOCHAIN 268
#define BYTE 269
#define ARP 270
#define RARP 271
#define IP 272
#define TCP 273
#define UDP 274
#define ICMP 275
#define IGMP 276
#define IGRP 277
#define PIM 278
#define ATALK 279
#define DECNET 280
#define LAT 281
#define SCA 282
#define MOPRC 283
#define MOPDL 284
#define TK_BROADCAST 285
#define TK_MULTICAST 286
#define NUM 287
#define INBOUND 288
#define OUTBOUND 289
#define LINK 290
#define GEQ 291
#define LEQ 292
#define NEQ 293
#define ID 294
#define EID 295
#define HID 296
#define HID6 297
#define LSH 298
#define RSH 299
#define LEN 300
#define IPV6 301
#define ICMPV6 302
#define AH 303
#define ESP 304
#define OR 305
#define AND 306
#define UMINUS 307

/* Value type.  */
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED

union YYSTYPE
{
#line 82 "grammar.y" /* yacc.c:1909  */

	int i;
	bpf_u_int32 h;
	u_char *e;
	char *s;
	struct stmt *stmt;
	struct arth *a;
	struct {
		struct qual q;
		struct block *b;
	} blk;
	struct block *rblk;

#line 172 "y.tab.h" /* yacc.c:1909  */
};

typedef union YYSTYPE YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define YYSTYPE_IS_DECLARED 1
#endif


extern YYSTYPE pcap_lval;

int pcap_parse (void);

#endif /* !YY_PCAP_Y_TAB_H_INCLUDED  */
